<p>This should be stripped/escaped in safe_mode.</p>
<p>&lt;script&gt;
alert(&quot;Hello world!&quot;)
&lt;/script&gt;</p>
<p>With blank lines.</p>
<p>&lt;script&gt;

alert(&quot;Hello world!&quot;)

&lt;/script&gt;</p>
<p>Now with some weirdness</p>
<p><code>&lt;script &lt;!--
alert("Hello world!")
&lt;/script &lt;&gt;</code> `</p>
<p>Try another way.</p>
<p>&lt;script &lt;!--
alert(&quot;Hello world!&quot;)
&lt;/script &lt;&gt;

This time with blank lines.

&lt;script &lt;!--

alert(&quot;Hello world!&quot;)

&lt;/script &lt;&gt;

</p>